package com.mes.biz.domain;

import com.mes.common.annotation.Excel;
import com.mes.common.core.domain.BaseEntity;
import com.mes.common.utils.log.annotation.FieldRemark;
import com.mes.common.utils.log.annotation.LogField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;

/**
 * 产品工序计划对象 biz_product_process_plan
 * @author hwg
 * @email hwg
 * @date 2023-05-03
 */
@Data
public class BizProductProcessPlan extends BaseEntity<BizProductProcessPlan>
{
    private static final long serialVersionUID = 1L;

    /** 产品id */
    @Excel(name = "产品id")
    @NotBlank(message = "产品id不允许为空")
    @LogField
    @FieldRemark(name = "产品id",field = "productId")
    private String productId;

    /** 工序计划id */
    @Excel(name = "工序计划id")
    @NotBlank(message = "工序计划id不允许为空")
    @LogField
    @FieldRemark(name = "工序计划id",field = "processPlanId")
    private String processPlanId;

    /** 租户id */
    @Excel(name = "租户id")
    @NotBlank(message = "租户id不允许为空")
    @LogField
    @FieldRemark(name = "租户id",field = "tenantId")
    private String tenantId;

    @FieldRemark(name = "工序计划编号",field = "processNumber")
    private String processNumber;
}
